package com.yeyks.common.appcommon.param.platform;

import com.yeyks.common.appcommon.result.CommonAuthHeader;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author: dagny
 * @date: 2019/7/9 0009 16:34
 */
@ApiModel(description = "优惠券查询详情输入参数")
@Data
public class GetCouponDetailParam extends CommonAuthHeader implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "优惠券主键ID", required = true)
    @NotNull(message = "优惠券主键ID不能为空")
    private Integer id;
}
